snapshot: Move sanity checks to a better place
authorBenjamin Otte <otte@redhat.com>
Thu, 1 Apr 2021 14:37:47 +0000 (16:37 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 1 Apr 2021 14:53:33 +0000 (16:53 +0200)
commitef455f5c8574ee1e0fc8ba8218ffa0b824e68658
tree0436d7ef10d475ad1adbb62ab8b2c02f6bdfd70d
parent05e4cd1579c7fee0f78c0206122d8842c2bc1ec8
snapshot: Move sanity checks to a better place

Fixes cases where the sanity checks would reject valid code, like when
using GL shaders on a scaled transform.

Fixes #3819
gtk/gtksnapshot.c